package com.zhuhjay.eduorder.client;

import com.zhuhjay.commonutils.R;
import com.zhuhjay.commonutils.ordervo.CourseOrder;
import com.zhuhjay.commonutils.ordervo.MemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author ZhuHJay
 * @date 2022/9/9 11:33
 */
@FeignClient("service-edu")
public interface CourseInfoClient {

    @PostMapping("/eduservice/course/getCourseInfoOrder/{id}")
    CourseOrder getCourseInfoOrder(@PathVariable("id") String id);

}
